package com.xinzhi.model;

import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 订单sku表
 * </p>
 *
 * @author laohan
 * @since 2024-01-08
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="OrderSkus对象", description="订单sku表")
public class OrderSkus implements Serializable {

private static final long serialVersionUID=1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    private String uuid;

    @ApiModelProperty(value = "订单id")
    private Integer orderId;

    @ApiModelProperty(value = "锚定的的id。 此处sku可能为商品的sku，也可能为电影中一个付费场次")
    private Integer skuId;

    @ApiModelProperty(value = "sku uuid")
    private String skuUuid;

    @ApiModelProperty(value = "商品类型/product、box")
    private String baseSkuType;

    @ApiModelProperty(value = "标题")
    private String title;

    @ApiModelProperty(value = "编号")
    private String number;

    @ApiModelProperty(value = "封面")
    private String thumb;

    @ApiModelProperty(value = "sku重量")
    private Integer weight;

    @ApiModelProperty(value = "sku属性")
    private String attrs;

    @ApiModelProperty(value = "原价")
    private Integer moneyPrice;

    @ApiModelProperty(value = "积分原价")
    private Integer scorePrice;

    @ApiModelProperty(value = "人民售价")
    private Integer discountMoneyPrice;

    @ApiModelProperty(value = "积分售价")
    private Integer discountScorePrice;

    @ApiModelProperty(value = "推广红包奖励")
    private Integer brokerageMoney;

    @ApiModelProperty(value = "推广积分奖励")
    private Integer brokerageScore;

    @ApiModelProperty(value = "上级推广人红包佣金")
    private Integer secondBrokerageMoney;

    @ApiModelProperty(value = "上级推广人积分佣金")
    private Integer secondBrokerageScore;

    @ApiModelProperty(value = "sku数量")
    private Integer total;

    private Date deletedAt;

    private Date createdAt;

    private Date updatedAt;

    @ApiModelProperty(value = "是否是隐藏款")
    private Boolean isHiddenSku;

    @ApiModelProperty(value = "专享价标题")
    private String groupPriceTitle;

    @ApiModelProperty(value = "其它信息")
    private String options;

    @ApiModelProperty(value = "绑定的虚拟资产")
    private String skuAssets;

    @ApiModelProperty(value = "下单奖励虚拟资产")
    private String rewardAssets;

    @ApiModelProperty(value = "供应商名称")
    private String supplier;

    @ApiModelProperty(value = "奖品类型, 1为自定义实物，2为绑定商城商品 3为平台虚拟资产  4为无任何奖品")
    private Integer skuType;

    @ApiModelProperty(value = "活动id，盲盒id、一番赏id、抽奖id、扭蛋机id")
    private Integer activityId;

    @ApiModelProperty(value = "对应活动类型, seckill groupon 等")
    private String activityType;

    @ApiModelProperty(value = "活动uuid")
    private String activityUuid;

    @ApiModelProperty(value = "活动id，盲盒id、一番赏id、抽奖id、扭蛋机id")
    private Integer nodeId;

    @ApiModelProperty(value = "对应实体类型,  product box yifanshang lottery egg_lottery")
    private String nodeType;

    @ApiModelProperty(value = "活动uuid")
    private String nodeUuid;

    @ApiModelProperty(value = "真正付款的订单id")
    private Integer payOrderId;

    @ApiModelProperty(value = "真正付款的订单编号")
    private String payOrderNumber;

    @ApiModelProperty(value = "成本价")
    private Integer costMoneyPrice;


}
